package com.tongji.seller.events
{ 
	import flash.events.Event;
	
	/**
	 * 
	 * @author jiarong
	 * 
	 */
	public class SearchIdEvent extends Event
	{
		public static const SEARCH_CDID:String = "searchcdId";
		public static const SEARCH_FGID:String = "searchfgId";
		public static const DELETE_CDID:String = "deletecdId";
		public static const DELETE_FGID:String = "deletefgId";
		public static const SELECT_ALL_PLACEBOX:String = "selectAllPlaceBox";
		public static const SELECT_ALL_STYLEBOX:String = "selectAllStyleBox";

		public var scdId:String;
		public var sfgId:String;
		public var sceneObject:Object;
		public var selected:Boolean;
		public var boxType:String;

		public function SearchIdEvent(type:String, scdId:String = null, sfgId:String = null, sceneObject:Object = null, selected:Boolean = false)
		{
			super(type, true);
			this.scdId = scdId;
			this.sfgId = sfgId;
			this.sceneObject = sceneObject;
			this.selected = selected;
		}
		
		override public function clone():Event
		{
			return new SearchIdEvent(type, scdId, sfgId, sceneObject);
		}
	}
}